/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="CONTASCORRENTES")
public class ContasCorrentesProteu implements Serializable{

    @Id
    @Column(name="CCO_ST_CODIGO")
    private String ccoStCodigo;
    @Column(name="BAN_ST_CODIGO")
    private String banStCodigo;
    @Column(name="BAN_ST_DESCRICAO")
    private String banStDescricao;
    @Column(name="CCO_ST_AGENCIA")
    private String ccoStAgencia;
    @Column(name="CCO_ST_CONTA")
    private String ccoStConta;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CCO_SYS_DATA")
    private String ccoSysData;
    @Column(name="CCO_SYS_USUARIO")
    private String ccoSysUsuario;

    public String getBanStCodigo() {
        return banStCodigo;
    }

    public void setBanStCodigo(String banStCodigo) {
        this.banStCodigo = banStCodigo;
    }

    public String getBanStDescricao() {
        return banStDescricao;
    }

    public void setBanStDescricao(String banStDescricao) {
        this.banStDescricao = banStDescricao;
    }

    public String getCcoStAgencia() {
        return ccoStAgencia;
    }

    public void setCcoStAgencia(String ccoStAgencia) {
        this.ccoStAgencia = ccoStAgencia;
    }

    public String getCcoStCodigo() {
        return ccoStCodigo;
    }

    public void setCcoStCodigo(String ccoStCodigo) {
        this.ccoStCodigo = ccoStCodigo;
    }

    public String getCcoStConta() {
        return ccoStConta;
    }

    public void setCcoStConta(String ccoStConta) {
        this.ccoStConta = ccoStConta;
    }

    public String getCcoSysData() {
        return ccoSysData;
    }

    public void setCcoSysData(String ccoSysData) {
        this.ccoSysData = ccoSysData;
    }

    public String getCcoSysUsuario() {
        return ccoSysUsuario;
    }

    public void setCcoSysUsuario(String ccoSysUsuario) {
        this.ccoSysUsuario = ccoSysUsuario;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ContasCorrentesProteu other = (ContasCorrentesProteu) obj;
        if ((this.ccoStCodigo == null) ? (other.ccoStCodigo != null) : !this.ccoStCodigo.equals(other.ccoStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 97 * hash + (this.ccoStCodigo != null ? this.ccoStCodigo.hashCode() : 0);
        return hash;
    }


}
